<%@ page import="com.apexedu.portal.constant.Constants" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    request.setAttribute("basePath", request.getContextPath());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title><%=Constants.ProjectInfo.PROJECT_NAME%>
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="${basePath}/resources/css/mh.sdyz.css" rel="stylesheet">
    <script type="text/javascript" src="${basePath}/resources/ui/js/jquery-1.10.2.min.js"></script>
    <script src="${basePath}/resources/js/mh.sdyz.index.js" type="text/javascript"></script>
    <script src="${basePath}/component/layer/layer.js" type="text/javascript"></script>
    <style type="text/css">
        #contentSub{overflow-y: auto;overflow-x: hidden;}
        #main #contentSub #workflowDiv{width: 100%;}
        #main #contentSub #workflowDiv #titleDiv{background: #d5d5d5;color: #000;text-indent: 18px;text-align: left;line-height: 40px;font-size: 20px;}
        #main #contentSub #workflowDiv .workflow{width: 100%;font-size: 16px;text-align:left;margin: 10px 0;padding: 20px;background: white;}
        #main #contentSub #workflowDiv .workflow .workflowType{font-weight: bold;color: #333;display: block;border-bottom: 1px solid #999;line-height: 26px;padding-bottom: 8px;}
        #main #contentSub #workflowDiv .workflow ul{margin: 0;padding: 10px 0 0 0;list-style: none;display: inline-block;width: 100%;}
        #main #contentSub #workflowDiv .workflow ul li{float:left;width: 20%;text-indent: 8px;color: #666;line-height: 32px;white-space: nowrap;text-overflow: ellipsis;overflow:hidden;}
        #main #contentSub #workflowDiv .workflow ul li span{cursor: pointer;}
        #main #contentSub #workflowDiv .workflow ul li.intervalLi{width: 5%;display: inline-block;height: 32px;}
    </style>
</head>
<body>

<div id="main">
    <input type="hidden" id="choosed" value="5"/>
    <jsp:include page="../sdyz/left.jsp"/>
    <div id="right">
        <jsp:include page="../sdyz/head.jsp"/>
        <div id="contentSub">
            <div id="workflowDiv">
                <%--<div id="titleDiv">流程导航</div>--%>
                <c:forEach items="${workflowTypes}" var="workflowType">
                    <div class="workflow">
                        <div class="workflowType">${workflowType.name}</div>
                        <ul>
                            <c:forEach items="${workflowType.lbxxList}" var="workflow">
                                <li>
                                    <span onclick="window.open('${basePath}${workflow.url}')"
                                          title="${workflow.name}">${workflow.name}</span>
                                </li>
                                <li class="intervalLi"></li>
                            </c:forEach>
                        </ul>
                        <div style="clear: both;"></div>
                    </div>
                </c:forEach>
            </div>
        </div>
        <jsp:include page="../sdyz/foot.jsp"/>
    </div>
</div>
</body>
</html>
